package com.example.demo.model.entity.relation;

import java.time.LocalDateTime;

/**
 * 教师-学生关系实体类
 */
public class TeacherStudentRelation {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 教师ID
     */
    private Long teacherId;

    /**
     * 学生ID
     */
    private Long studentId;

    /**
     * 关系类型
     */
    private String relationType = "DEFAULT"; // 默认关系类型

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    // Getter 和 Setter 方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getRelationType() {
        return relationType;
    }

    public void setRelationType(String relationType) {
        this.relationType = relationType;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}